package com.base.cn.platform.os.controller.web.user.center;

import com.base.cn.platform.os.common.WebBaseController;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;

/**
 * 新页面Controller
 */
@Controller
@RequestMapping("/web")
public class NewPageController extends WebBaseController {

    /**
     * 个人中心我的活动
     * @param request
     * @return
     */
    @RequestMapping("/myActivity")
    public String myActivity(HttpServletRequest request){
        return resultPage("/newPage/myActivity");
    }

    /**
     * 个人中心我的笔记
     * @param request
     * @return
     */
    @RequestMapping("/myNote")
    public String myNote(HttpServletRequest request){
        return resultPage("/newPage/myNote");
    }

    /**
     * 活动详情
     * @param request
     * @return
     */
    @RequestMapping("/activityInfo")
    public String activityList(HttpServletRequest request){
        return resultPage("/newPage/activity-info");
    }

    /**
     * 活动列表
     * @param request
     * @return
     */
    @RequestMapping("/activityList")
    public String activityInfo(HttpServletRequest request){
        return resultPage("/newPage/activity-list");
    }

    /**
     * 新网校首页
     * @param request
     * @return
     */
    @RequestMapping("/newPageIndex")
    public String newPageIndex(HttpServletRequest request){
        return resultPage("/newPage/newPage-index");
    }

    /**
     * 套餐详情
     * @param request
     * @return
     */
    @RequestMapping("/packageCourseInfo")
    public String packageCourseInfo(HttpServletRequest request){
        return resultPage("/newPage/packageCourse-info");
    }

    /**
     * 前台学习记录
     * @param request
     * @return
     */
    @RequestMapping("/studyRecord")
    public String studyRecord(HttpServletRequest request){
        return resultPage("/newPage/front-studyRecord");
    }

}
